package com.xca.znb.model.imodel;

import com.xca.znb.entity.Message;
import com.xca.znb.entity.NewsLetter;
import com.xca.znb.entity.User;

import java.util.List;

public interface IMessage {
    void sendMessage(String sendId , String receiveId , String text , String time);
    List<Message> getMessage();
    User getUserByPhone(String phone);
    NewsLetter getNewsletterByPhone(String phone1 , String phone2);
    void updateNewsletterTimeByPhone(String phone1 , String phone2 , String time) ;
}
